package cn.laixueit.service.impl;

import cn.laixueit.mapper.StudentMapper;
import cn.laixueit.pojo.Student;
import cn.laixueit.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Repository
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Autowired
    private Student student;

    @Override
    /**
     * @author 张三
     */
    public void save() {
        System.out.println("studentServiceImpl..............");
        studentMapper.save(student);
        // ... 记录信息 log


    }
}
